﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ST.Buz.Base.Entity
{
	/// <summary>
	/// 快递公司
	/// </summary>
	[Table("Sys_Express")]
	public partial class Sys_Express
	{
		[Key]
		[Column("ID")]
		public int ID { get; set; }

		/// <summary>
		/// 快递代码
		/// </summary>
		[Column("Code")]
		[Display(Name = "快递代码")]
		[StringLength(32, ErrorMessage = "{0}长度不能超过{1}")]
		public string Code { get; set; }

		/// <summary>
		/// 名称
		/// </summary>
		[Column("Name")]
		[Display(Name = "名称")]
		[StringLength(20, ErrorMessage = "{0}长度不能超过{1}")]
		public string Name { get; set; }

		/// <summary>
		/// 
		/// </summary>
		[Column("PYCode")]
		[StringLength(10, ErrorMessage = "{0}长度不能超过{1}")]
		public string PYCode { get; set; }

		/// <summary>
		/// 查快递链接
		/// </summary>
		[Column("Url")]
		[StringLength(150, ErrorMessage = "{0}长度不能超过{1}")]
		public string Url { get; set; }

		/// <summary>
		/// 排序
		/// </summary>
		[Column("Sort")]
		public int Sort { get; set; }

		/// <summary>
		/// 
		/// </summary>
		[Column("OrgID")]
		public int OrgID { get; set; }
	}
}
